	
/*Complete Style Reset*/
#gtalklet_layer, #gtalklet_layer [class^=gtalklet] {
    background: transparent;
    background-position: 0 0;
    border: 0;
    box-sizing: initial;
    color: #000000;
    direction: ltr;
    display: block;
    font: 12px/1.5 normal normal normal Tahoma, Helvetica, simsun, sans-serif;
    float: none;
    height: auto;
    padding: 0;
    pointer-events: auto;
    margin: 0;
    min-width: 0;
    min-height: 0;
    outline: none;
    overflow: visible;
    opacity: 1;
    text-align: left;
    vertical-align: baseline;
    width: auto;
	word-break: initial;
    -webkit-border-radius: 0;
    -webkit-user-select: none;
}
/*RESET end*/

/*??*/
div#gtalklet_layer {
    position: fixed;
    bottom: 0;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    z-index: 65535;
    background: transparent;
    pointer-events:none;
}

#gtalklet_layer .prototype {
    display: none!important;
}

#gtalklet_layer textarea,
#gtalklet_layer input {
    -webkit-user-select: text!important;
}

#gtalklet_layer .gtalklet_icon_button {
    height: 18px;
    width: 16px;
    cursor: pointer;
    text-align: center;
}

#gtalklet_layer .gtalklet_strong {
    display: inline;
    font-weight: bold;
}

/*??*/
#gtalklet_layer .gtalklet_panel {
    display: inline-block;
    vertical-align: bottom;
    margin-right: 3px;
    bottom: 0px;
    margin-bottom: 0px;
    position: relative;  /*position context*/
    
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -webkit-box-shadow: 0.4px -0.9px 6px 0.9px rgba(0, 0, 0, 0.5);
}

#gtalklet_layer .gtalklet_panel .gtalklet_panel_content_wrapper .gtalklet_panel_content {
    position: relative; /*position context*/
    background: white;
    border: 1px solid lightGray;
    border-bottom: none;
}

#gtalklet_layer .gtalklet_panel.gtalklet_thread  {
    width: 250px;
}

#gtalklet_layer .gtalklet_panel.minimized .gtalklet_panel_content {
    display: none;
}

#gtalklet_layer .gtalklet_panel.collapsed {
    display: none;
}


#gtalklet_layer .gtalklet_title_bar {
    cursor: pointer;
    color: white;
    background: #2C3342;
    min-width: 20px;

    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
}

#gtalklet_layer .gtalklet_title_bar:hover {
    /*background-color: #2E4C71; */
}

#gtalklet_layer .gtalklet_title_bar > div {
    padding: 3px;
    color: #eeeeee;
}

#gtalklet_layer .gtalklet_title_bar > div:hover {
    color: white;
}

#gtalklet_layer .gtalklet_panel.unread .gtalklet_title_bar {
    background: darkGreen;
}

#gtalklet_layer .gtalklet_thread .gtalklet_title_bar .gtalklet_presence {
    background-position: 4px 5px;
}

#gtalklet_layer .gtalklet_thread .gtalklet_title_bar .gtalklet_contact_name  {
    display: inline-block;
    width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_close_thread {
    background: url() no-repeat 50% 50%;
    opacity: 0.8;
    display: inline-block;
    height: 18px;
    width: 16px;
    margin-left: 2px;
    vertical-align: bottom;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_close_thread:hover {
    opacity: 1;
}

#gtalklet_layer .gtalklet_contact_vcard {
    display: inline-block;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_open_audio {
    background: url() no-repeat 50% 50%;    
    opacity: 0.8;
    display: inline-block;
    height: 18px;
    width: 16px;
    margin-left: 2px;
    vertical-align: bottom;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_open_video {
    background: url() no-repeat 50% 50%;    
    opacity: 0.8;
    display: inline-block;
    height: 18px;
    width: 16px;
    margin-left: 2px;
    vertical-align: bottom;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_open_audio:hover {
    opacity: 1;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_open_video:hover {
    opacity: 1;
}

/* console */
/* presence */

#gtalklet_layer .gtalklet_presence {
    height: 16px;
    width: 16px;
    float: left;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* avatar */

#gtalklet_layer .gtalklet_avatar img {
    height: 32px;
    width: 32px;    
    float: left;
    display: inline-block; 
    overflow: hidden;   
    white-space: nowrap;  
    margin-right: 2px;
}


#gtalklet_layer .gtalklet_options {
    background: url() no-repeat 50% 50% transparent;
    background-size: 12px;
}

#gtalklet_layer .gtalklet_jump_list .gtalklet_icon_button .gtalklet_options:hover {
    background-color: green;
}

#gtalklet_layer .gtalklet_profile {
    background: url() no-repeat 50% 50% transparent;
    background-size: 12px;
}

#gtalklet_layer .gtalklet_jump_list .gtalklet_icon_button .gtalklet_profile:hover {
    background-color: green;
}

#gtalklet_layer .signout {
    background: url(%3D) no-repeat 50% 50% transparent;
    background-size: 13px;
}

#gtalklet_layer .gtalklet_jump_list .gtalklet_icon_button.signout:hover {
    background-color: crimson;
}

#gtalklet_layer .gtalklet_presence.unavailable {
    background-image: url(); /* /img/offline.png */
}

#gtalklet_layer .gtalklet_presence.chat {
    background-image: url(%3D%3D);;
}

#gtalklet_layer .gtalklet_presence.away,
#gtalklet_layer .gtalklet_presence.xa {
    background-image: url();
}

#gtalklet_layer .gtalklet_presence.dnd {
    background-image: url(%3D%3D);
}

#gtalklet_layer .gtalklet_presence.invited {
    background-image: url();
    opacity: 0.5;
}

#gtalklet_layer .gtalklet_presence.rejected {
    background-image: url();
}

/*jump list*/
#gtalklet_layer .gtalklet_title_bar .gtalklet_jump_list {
    position: absolute;
    bottom: 20px; 
    left: 0px;
    padding: 0;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    z-index: -1;

    background: #EEEEEE;
    border: 1px solid lightGray;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_jump_list.collapsed {
    display: none;
}

#gtalklet_layer .gtalklet_title_bar .gtalklet_jump_list_item {
    padding: 2px;
    border-bottom: 1px solid gray;
    cursor: pointer;
}

#gtalklet_layer .gtalklet_jump_list .gtalklet_icon_button:hover {
    background-color: white;
}


/* panel toolbar */
#gtalklet_layer .gtalklet_toolbar_handler {
    display: none;
    position: absolute;
    right: 0;
    height: 12px;
    width: 40px;
    cursor: pointer;
    background: url() no-repeat 50% 50%;
}

#gtalklet_layer .gtalklet_toolbar {
    display: none;
    position: absolute;
    right: 0;
    height: 20px;
    width: auto;
    background: lightGray;
    border-bottom: 1px solid gray;
}

#gtalklet_layer .gtalklet_toolbar_handler:hover .gtalklet_toolbar {
    display: block;
}

#gtalklet_layer .gtalklet_toolbar .gtalklet_icon_button {
    float: right;
    border-left: 1px solid gray;
}

/* message timeline */
#gtalklet_layer .gtalklet_timeline {
    min-height: 140px;
    max-height: 300px;  /* 598px is same as roster */
    padding-bottom: 18px;
    margin-bottom: 2px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* message timeline message*/
#gtalklet_layer .gtalklet_timeline .gtalklet_message {
    margin: 5px 5px 0px 0px;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message:first-letter {
    font-size: 100%;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message.normal {
    color: gray;
    text-align: center;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message.chat_sent .gtalklet_message_wrapper {
    text-align: left;
    border-left: 2px solid orange;
    margin-left: 4px;
    padding-left: 4px;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message.chat_recieved .gtalklet_message_wrapper {
    border-left: 2px solid green;
    margin-left: 4px;
    padding-left: 4px;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message.error .gtalklet_message_wrapper {
    margin-left: 4px;
    padding: 2px 2px 2px 5px;
    background: lightPink;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message.invite .gtalklet_message_wrapper {
    margin-left: 4px;
    padding: 2px 2px 2px 5px;
    background: lightSteelBlue;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message .gtalklet_message_link {
    color: blue;
    word-break: break-all;
    text-decoration: underline;
    -webkit-user-select: text!important;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message .gtalklet_message_link[href$=".png"],
#gtalklet_layer .gtalklet_timeline .gtalklet_message .gtalklet_message_link[href$=".gif"],
#gtalklet_layer .gtalklet_timeline .gtalklet_message .gtalklet_message_link[href$=".jpg"]
{
    /*
    text-indent: 20px;
    background-repeat: no-repeat;
    background-position: 1px 2px;
    background-image: url();
    */
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message .gtalklet_message_wrapper {
    -webkit-user-select: text!important;
}

#gtalklet_layer .gtalklet_timeline .gtalklet_message .gtalklet_time {
    text-align: center;
    color: gray;
}

/* chat textarea */
#gtalklet_layer .gtalklet_chat_form textarea {
    position: relative;    
    padding: 1px;
    width: 208px;
    height: 34px;
    border: 1px solid darkGray;
    background: #EEEEEE;

    overflow: hidden;
    resize: none;
}

#gtalklet_layer .gtalklet_chat_form textarea::-webkit-input-placeholder {
    color: gray;
    font-style: italic;
}

#gtalklet_layer .gtalklet_chat_form textarea:hover {
    background: white;
}

#gtalklet_layer .gtalklet_chat_form textarea:focus,
#gtalklet_layer .gtalklet_chat_form textarea:active {
    outline: 2px solid orange;
    background: white;
}

#gtalklet_layer .gtalklet_chat_form_mask {
    position: absolute;
    height: 50px;
    width: 100%;
    background: white;
    bottom: 0;
    opacity: 0.8;
}

/* console */
#gtalklet_layer #gtalklet_console .gtalklet_my_presence .gtalklet_presence {
    height: 20px;
}

#gtalklet_layer #gtalklet_console .gtalklet_new_message {
    background: url() no-repeat transparent;
    background-size: 12px;
    background-position: 5px 7px;
}

#gtalklet_layer #gtalklet_console .gtalklet_badge {
    position: absolute;
    background: darkRed;
    color: white;
    padding: 2px 6px;
    top: -11px;
    right: -4px;

    border-radius: 24px;
    font-size: x-small;
    -webkit-box-shadow: 0.4px 0.9px 6px rgba(0, 0, 0, 0.5);
}

/* filter panel */
#gtalklet_layer .gtalklet_toggle_filter.open {
    background: url() no-repeat 50% 50%;
    opacity: 0.8;
}

#gtalklet_layer .gtalklet_toggle_filter.open:hover {
    opacity: 1;
}

#gtalklet_layer .gtalklet_toggle_filter.close {
    background: url() no-repeat 50% 50%;
    opacity: 0.8;
}

#gtalklet_layer .gtalklet_toggle_filter.close:hover {
    opacity: 1;
}

#gtalklet_layer #gtalklet_filter_panel {
    display: inline-block;
    width: 250px;
}

#gtalklet_layer #gtalklet_filter_panel.collapsed {
    display: none;
}

#gtalklet_layer #gtalklet_filter_panel input.gtalklet_filter {
    color: white;
    background: #2C3342;
    padding: 3px 30px 3px 20px;
    width: 200px;
    background-image: url(%3D);
    background-repeat: no-repeat;
    background-position: 4px 50%;
}

#gtalklet_layer #gtalklet_filter_panel input.gtalklet_filter:active,
#gtalklet_layer #gtalklet_filter_panel input.gtalklet_filter:focus {
    outline: none;
}

#gtalklet_layer #gtalklet_filter_panel input.gtalklet_filter::-webkit-input-placeholder {
    color: gray;
    font-style: italic;
}

#gtalklet_layer #gtalklet_filter_panel input.gtalklet_filter::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 10px;
    width: 10px;
    background: white;
}

#gtalklet_layer #gtalklet_filter_panel input.gtalklet_filter.invalid {
    color: crimson;
}

#gtalklet_layer .gtalklet_contact_gateway {
    margin-left: 180px;
    white-space: nowrap;
    overflow: hidden; 
    display: inline;  
    float: right;    
}


#gtalklet_layer #gtalklet_filter_panel .gtalklet_contacts {
    min-height: 18px;
    max-height: 646px; /* 44*n + 30*/
    overflow: auto;
}

#gtalklet_layer #gtalklet_filter_panel .gtalklet_message {
    text-align: center;
    color: gray;
    padding: 5px;
    border-bottom: 1px solid gray;
}

#gtalklet_layer #gtalklet_filter_panel .gtalklet_contact {
    cursor: pointer;
}

#gtalklet_layer #gtalklet_filter_panel .gtalklet_contact_wrapper {
    padding: 3px;
    border-bottom: 1px solid gray;
}

#gtalklet_layer #gtalklet_filter_panel .gtalklet_contact.current {
    background: aliceBlue;
}

#gtalklet_layer #gtalklet_filter_panel .gtalklet_contact strong {
    color: black;
}

#gtalklet_layer #gtalklet_filter_panel .gtalklet_contact_name {
    font-size: 13px;
    margin-left: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#gtalklet_layer #gtalklet_filter_panel .gtalklet_contact_jid {
    margin-left: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: gray;
}
#gtalklet_layer #gtalklet_filter_panel .gtalklet_presence {
    background-position: 0px 3px;
}

/* info bar */
#gtalklet_layer #gtalklet_info .gtalklet_title_bar {
    background: orange;
    cursor: auto;
}

#gtalklet_layer #gtalklet_info .gtalklet_info {
    margin-left: 3px;
    margin-right: 3px;
    color: black;
}

#gtalklet_layer #gtalklet_info .gtalklet_info a {
    display: inline;
    text-decoration: underline;
    cursor: pointer;
}

#gtalklet_layer #gtalklet_info .gtalklet_title_bar.info {
    background: orange;
}

#gtalklet_layer #gtalklet_info .gtalklet_title_bar.warn {
    background: orange;
}

#gtalklet_layer #gtalklet_info .gtalklet_title_bar.error {
    background:  crimson;
}

/* invite */
#gtalklet_layer .gtalklet_invite {
    position: absolute;
    background-repeat: no-repeat;
    opacity: 0.8;
    background-image: url();
    bottom: 2px;
    right: 8px;
}

#gtalklet_layer .gtalklet_invite:hover {
    opacity: 0.9;
}

#gtalklet_layer .gtalklet_invite.invited {
    background-image: url();
}

#gtalklet_layer .gtalklet_invited_ok, #gtalklet_layer .gtalklet_invited_no .gtalklet_video_no gtalklet_video_yes {
    display: inline;
    text-align: center;
}

#gtalklet_layer .gtalklet_invited_ok:hover, #gtalklet_layer .gtalklet_invited_no:hover .gtalklet_video_no:hover gtalklet_video_yes:hover {
    color: black!important;
}
